Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CollectionBase<T> Class / Contains Method
The T to search for in the collection.


In This Topic
    Contains Method (CollectionBase<T>)
    In This Topic
    Gets a value that indicates whether the collection contains the specified T.
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal value As T _
    ) As Boolean
    'Usage
     
    
    Dim instance As CollectionBase(Of T)
    Dim value As T
    Dim value As Boolean
     
    value = instance.Contains(value)
    public bool Contains( 
       T value
    )

    Parameters

    value
    The T to search for in the collection.

    Return Value

    true if the collection contains the specified object; otherwise, false.
    See Also